package com.example.item;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "页脚")
public class Foot {
    @Schema(description = "页脚编号")
    @TableId(type = IdType.AUTO)
    private Integer footId;
    @Schema(description = "页脚名称")
    private String footName;
    @Schema(description = "页脚路径")
    private String footPath;
    @Schema(description = "页脚状态（0：正常，1：停用）")
    private Integer footStatus;
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @Schema(description = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @Schema(description = "是否删除")
    @TableLogic(value = "0", delval = "1")
    @TableField(fill = FieldFill.INSERT)
    private Integer footIsdelete;
}
